/**
 * 
 */
package model.core.torneo;

import java.util.ArrayList;
import java.util.List;

/**
 * @author Giuseppe Fusco (fusgius@gmail.com)
 *
 */
public class Calendario <T extends Calendarable> {

	private List<T> cal;
	
	public Calendario(){
		cal = new ArrayList<T>();
	}
	
	public boolean addCalendarable(T c){
		return cal.add(c);
	}
	
	public boolean removeCalendarable(T c){
		return cal.remove(c);
	}
	
	public List<T> getCalendar() {
		return cal;
	}
	
	public void setCalendar(List<T> cal) {
		this.cal = cal;
	}
}
